#时间戳转换为时间
from datetime import datetime
def timestran(timestamp):
    seconds_timestamp = timestamp / 1000.0
    date_time_obj = datetime.fromtimestamp(seconds_timestamp)
    return str(date_time_obj).split('.')[0]